<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>新的函数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration54.parameters.html">变更的函数</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration54.classes.html">新的类和接口</a></div>
 <div class="up"><a href="migration54.html">从 PHP 5.3.X 迁移到 PHP 5.4.X</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration54.functions" class="section">
  <h2 class="title">新的函数</h2>
  <p class="simpara">
   PHP 5.4 引入一些新的函数：
  </p>
  <p class="simpara">PHP 核心：</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.hex2bin.html" class="function">hex2bin()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.http-response-code.html" class="function">http_response_code()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.get-declared-traits.html" class="function">get_declared_traits()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.getimagesizefromstring.html" class="function">getimagesizefromstring()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.stream-set-chunk-size.html" class="function">stream_set_chunk_size()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.socket-import-stream.html" class="function">socket_import_stream()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.trait-exists.html" class="function">trait_exists()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.header-register-callback.html" class="function">header_register_callback()</a></span>
    </span>
   </li>
  </ul>
  <p class="simpara"><a href="book.spl.html" class="link">SPL:</a></p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.class-uses.html" class="function">class_uses()</a></span>
    </span>
   </li>
   </ul>
   <p class="simpara"><a href="book.session.html" class="link">Session:</a></p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.session-status.html" class="function">session_status()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.session-register-shutdown.html" class="function">session_register_shutdown()</a></span>
    </span>
   </li>
   </ul>
   <p class="simpara"><a href="book.mysqli.html" class="link">Mysqli:</a></p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="mysqli.error-list.html" class="function">mysqli_error_list()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="mysqli-stmt.error-list.html" class="function">mysqli_stmt_error_list()</a></span>
    </span>
   </li>
   </ul>
   <p class="simpara"><a href="book.libxml.html" class="link">Libxml:</a></p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.libxml-set-external-entity-loader.html" class="function">libxml_set_external_entity_loader()</a></span>
    </span>
   </li>
   </ul>
   <p class="simpara"><a href="book.ldap.html" class="link">LDAP:</a></p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.ldap-control-paged-result.html" class="function">ldap_control_paged_result()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.ldap-control-paged-result-response.html" class="function">ldap_control_paged_result_response()</a></span>
    </span>
   </li>
   </ul>
   <p class="simpara"><a href="book.intl.html" class="link">Intl:</a></p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="transliterator.create.html" class="function">transliterator_create()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="transliterator.createfromrules.html" class="function">transliterator_create_from_rules()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="transliterator.createinverse.html" class="function">transliterator_create_inverse()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="transliterator.geterrorcode.html" class="function">transliterator_get_error_code()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="transliterator.geterrormessage.html" class="function">transliterator_get_error_message()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="transliterator.listids.html" class="function">transliterator_list_ids()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="transliterator.transliterate.html" class="function">transliterator_transliterate()</a></span>
    </span>
   </li>
  </ul>
   <p class="simpara"><a href="book.zlib.html" class="link">Zlib:</a></p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.zlib-decode.html" class="function">zlib_decode()</a></span>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.zlib-encode.html" class="function">zlib_encode()</a></span>
    </span>
   </li>
  </ul>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration54.parameters.html">变更的函数</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration54.classes.html">新的类和接口</a></div>
 <div class="up"><a href="migration54.html">从 PHP 5.3.X 迁移到 PHP 5.4.X</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
